package net.ojbk.study.twobox.dao;

import net.ojbk.study.twobox.beans.po.Class;
import net.ojbk.study.twobox.beans.vo.SelectOption;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface ClassMapper extends Mapper<Class> {
    @Select("SELECT id id, className `name` FROM crm_class")
    public List<SelectOption> getAllClass();
}